package com.taotao.util;

import com.gitee.fastmybatis.core.EqualColumn;
import lombok.AccessLevel;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

/**
 * <p>
 *
 * </p>
 *
 * @author fanbeibei
 * @version 1.0.0
 * @date 2023/7/5 10:08
 */
@NoArgsConstructor(access = AccessLevel.PRIVATE)
public class FastMyBatisUtils {


    public static EqualColumn[] newUpdateIdTime(LocalDateTime opTime, Long userId) {
        return new EqualColumn[]{new EqualColumn(EntityUtils.UPDATE_TIME, opTime), new EqualColumn(EntityUtils.UPDATE_USER, userId)};
    }


}
